package phoenics.apeak.simple.store;

import javax.annotation.PostConstruct;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.data.mongodb.core.MongoTemplate;
import org.springframework.stereotype.Repository;

import phoenics.apeak.simple.entity.LimitCategory;

@Repository
public class LimitCategoryDao extends MongodbBaseDao<LimitCategory>{
	@Autowired
	@Qualifier("mongoTemplate2")
	private MongoTemplate mongoTemplate;
	@PostConstruct 
	protected void injectMongoTemplate(){
		super.setMongoTemplate(this.mongoTemplate);
	}
}
